<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head><title>欢迎访问</title>
	<%@include file="../../../web.inc"%>
</head>
<body>
	<div id="query_tab" class="easyui-panel" title="<%=getResStr("cxtj")%>"
		data-options="iconCls:'icon-search',collapsible:true,
		minimizable:false,maximizable:false,closable:false">
		<form id="queryForm" name="queryForm" method="post">
		<table class="queryTable">
			<tr>
				<td></td>
				<td>项目名称：</td>
				<td>
					<input type="text" name="developVo.projectName" />
				</td>
				<td>
					<button class="button white" type="button" onclick="execAjaxQuery(this)">查询</button>
				</td>
				<td></td>
			</tr>
		</table>
		</form>
	</div>

	<div id="datalistPanel" class="easyui-panel" title="查询结果" iconCls="icon-udef-list"
		data-options="collapsible:true,minimizable:false,maximizable:false,closable:false">
		<table id="datalistTable">
			
		</table>
		<!-- 按钮信息 -->
		<div id="buttonPanel" style="padding: 3px; border: 1px solid #ddd;">
			<button id="butAddProject" class="button blue" type="button" onClick="execAddProject()">新增</button>
			<button id="butEditProject" class="button blue" type="button" onClick="execEditProject()">编辑</button>
			<button id="butDeleProject" class="button blue" type="button" onClick="execDelProject()">删除</button>
		</div>
	</div>
	<div id="datasetPanel" class="easyui-panel" title="详情" iconCls="icon-udef-detail" 
		data-options="collapsible:true,minimizable:false,maximizable:false,closable:false">
		<form id="datasetForm" name="datasetForm">
			<input type="hidden" id="planId" name="planId" value="">
			<input type="hidden" id="planState" name="planState" value="">
			<table class="datasetTable">
				<tr>
					<td class="label">项目ID：</td>
					<td class="content">
						<input type="text" id="createUser" name="createUser" disabled="false">
					</td>
					<td class="label">项目名称：</td>
					<td class="content">
						<input type="text" id="createUnit" name="createUnit" disabled="false">
					</td>
					<td class="label">建立日期：</td>
					<td class="content">
						<input type="text" id="createDate" name="createDate" disabled="false">
					</td>
				</tr>

				<tr>
					<td class="label">预案类型：</td>
					<td class="content">
						<select id="planLevel" name="planType" disabled="false">
								<option>自然灾害</option>
								<option>事故灾难</option>
								<option>公共卫生事件</option>
								<option>社会安全事件</option>
						</select>
					</td>
					<td class="label">优先级：</td>
					<td class="content" colspan='3'>
						<select id="planLevel" name="planLevel"  disabled="false">
								<option>一级</option>
								<option>二级</option>
								<option>三级</option>
								<option>四级</option>
						</select>
					</td>
				</tr>

				<tr>
					<td class="label">预案名称：</td>
					<td class="content" colspan='5'>
						<input type="text" id="planName" name="planName" disabled="false">
					</td>
				</tr>

				<tr>
					<td class="label">预案正文：</td>
					<td class="content" colspan='5'>
						<input type="file" id="planFile" name="planFile" disabled="false">
					</td>
				</tr>

				<tr>
					<td class="label">预案说明：</td>
					<td class="content" colspan='5'>
						<textArea rows='3' id="planRemark" name="planRemark" disabled="false"></textArea>
					</td>
				</tr>
				<tr>
					<td class="label">预案流程：</td>
					<td class="content" colspan='5'>
						<input type="text" id="planGoal" name="planGoal" disabled="false">
					</td>
				</tr>
			</table>
		</form>
	</div>
<script type="text/javascript">
	$(function() {
		try{
			initPanel();//初始化面板
			initDatalistPanel();//初始化查询列表面板
			initButtonPanel();//初始化按钮
			initDatasetPanel();//初始化dataset面板
		}catch(err){
			alert("初始化" + err);
		}
		
	});
</script>
</body>
</html>
<%@include file="./res/resource.inc"%>